#include "src/second.h"

#include <stdio.h>
#include <stdlib.h>


int func1(void *p)
{
  char *txt = (char *)p;
  //  sleep(25);
  printf("%s\n", p);
  return 0;
}



int main()
{
  elog_scnd_initialize();
  int c;
  for (c=0; c < 1; ++c) {
    elog_scnd_run_arg(func1, "1", "first");
    elog_scnd_run_arg(func1, "2", "second");
    elog_scnd_run_arg(func1, "3", "third");
    elog_scnd_run_arg(func1, "4", "fourth");
    elog_scnd_run_arg(func1, "5", "fifth");
    elog_scnd_run_arg(func1, "6", "sixth");
    elog_scnd_run_arg(func1, "7", "seventh");
    elog_scnd_run_arg(func1, "8", "eighth");
    elog_scnd_run_arg(func1, "9", "ninth");
    elog_scnd_run_arg(func1, "10", "tenth");
    elog_scnd_run_arg(func1, "11", "eleventh");
    elog_scnd_run_arg(func1, "12", "twelveth");
  }
  elog_scnd_finish(10000000);

  return 0;
}
